.idcard-upload-container {
  margin-top: 9px;
  display: inline-block;
  position: relative;
  z-index: 0;
  width: 160px;
  height: 120px;
  border: 1px solid #eee;
  border-radius: 2px;
  transition: 0.2s;
  cursor: pointer;
  color: #555;
  user-select: none;
}
.idcard-upload-container img {
  vertical-align: top;
}
.idcard-upload-container + .idcardUpload-container {
  margin-left: 10px;
}
.idcard-upload-container:hover,
.idcard-upload-container:active {
  color: #009688;
}
.idcard-upload-container > .idcard-upload-select-file,
.idcard-upload-container > .idcard-upload-image-preview {
  height: 100%;
  width: 100%;
}
.idcard-upload-container > .idcard-upload-image-preview {
  position: relative;
  z-index: 0;
  display: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.idcard-upload-container > .idcard-upload-image-preview > .idcard-upload-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #000;
}
.idcard-upload-container > .idcard-upload-image-preview > .idcard-upload-layer {
  content: "重新选择";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.1);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
  transform: translateY(100%);
  transition: 0.2s;
}
.idcard-upload-container > .idcard-upload-image-preview > .idcard-upload-layer:hover {
  background-color: rgba(0, 0, 0, 0.25);
}
.idcard-upload-container > .idcard-upload-image-preview:hover > .idcard-upload-layer {
  transform: translateY(0%);
}
.idcard-upload-container > .idcard-upload-select-file {
  position: relative;
  z-index: 0;
}
.idcard-upload-container > .idcard-upload-select-file > .idcard-upload-select-file-center {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}
.idcard-upload-container > .idcard-upload-select-file > .idcard-upload-select-file-center > .idcard-upload-icon {
  font-size: 48px;
}
.idcard-upload-container > .idcard-upload-select-file > .idcard-upload-select-file-center > .idcard-upload-text {
  font-size: 12px;
}
